﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using AttributeRouting.Web.Http;
using WS.EKA.Core.DI;
using WS.EKA.Model;
using WS.EKA.ServiceInterface;
using WS.EKA.Utilities.Consts;
using WS.EKA.Portal.Filters;
using System.Web.Http;

namespace WS.EKA.Portal.Controllers
{
    public class PaymentController : ApiController
    {
        private IPayment payment;
        public PaymentController(IPayment payment)
        {
            this.payment = payment;
        }

        public List<Payment> Get()
        {
            return payment.GetList();
        }
    }
}